all: castest

#CPPFLAGS = -std=c++11 -g -O2
CPPFLAGS = -std=c++11 -g
LIBS = -lpthread

%.o : %.cpp
	g++ $(CPPFLAGS) -c $< -o $@


castest: cas_main.o
	g++ $^ -o castest $(LIBS)


.PHONY: clean
clean:
	rm -rf castest *.o